Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make CRR lookup foreign key cascade on delete #10164

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

gregorbg
Copy link
Member

Small follow-up to #10122

Somehow, MySQL is not able to execute a DROP DATABASE correctly if some cross-referencing foreign keys still fail. I'm surprised by this; I would expect the engine is smart enough to figure out "Oh if I'm dropping the whole thing anyways then FKs don't matter". But judging by some recent staging errors, this doesn't seem to be the case.

@gregorbg gregorbg merged commit 3ca0c3c into thewca:main Oct 31, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants